<?
$PrintURL=$ThisPage."/printthispage/";
if (strstr($PrintURL, '//')) $PrintURL=str_replace("//", "/", $PrintURL);

if (!empty($page_print) and $page_print=="no") {
?>
<div id="printversion" style="padding:30px; 0px; 0px; 0px;">
<div style="float:left;">
<table>
<tr>
	<td style="padding:0px 5px 0px 0px;"><a onclick="history.back();" style="cursor:pointer;"><img src="<?=$design_path?>images/back.png" width="16" height="16" alt="Вернуться назад" border="0"></a></td>
	<td style="padding:0px 20px 0px 0px;"><a onclick="history.back();" style="cursor:pointer;">Вернуться назад</a></td>
</tr>
</table>
</div>
<!--
<div style="float:right;">
<table>
<tr>
	<td style="padding:0px 5px 0px 0px;"><a target="_blank" onclick="popupWin = window.open(this.href, '<?=$url[0]?>', 'toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=1,resizable=1, top=0, width=600, height=500'); popupWin.focus(); return false;" href="<?=$PrintURL?>"><img src="<?=$design_path?>images/print-ico.gif" width="20" height="20" alt="Распечатать страницу" border="0"></a></td>
	<td style="padding:0px 20px 0px 0px;"><a target="_blank" onclick="popupWin = window.open(this.href, '<?=$url[0]?>', 'toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=1,resizable=1, top=0, width=600, height=500'); popupWin.focus(); return false;" href="<?=$PrintURL?>">Версия для печати</a></td>
</tr>
</table>
</div>
-->
</div>
<?}//if...?>